package com.woniuxy.daos;

import com.woniuxy.entitys.TbUser;
import com.woniuxy.entitys.TbUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbUserDao {
    long countByExample(TbUserExample example);

    int deleteByExample(TbUserExample example);

    int deleteByPrimaryKey(Integer uid);

    int insert(TbUser record);

    int insertSelective(TbUser record);

    List<TbUser> selectByExample(TbUserExample example);

    TbUser selectByPrimaryKey(Integer uid);

    int updateByExampleSelective(@Param("record") TbUser record, @Param("example") TbUserExample example);

    int updateByExample(@Param("record") TbUser record, @Param("example") TbUserExample example);

    int updateByPrimaryKeySelective(TbUser record);

    int updateByPrimaryKey(TbUser record);

    int resetPasswordById(Integer id);


    int saveHospitalMer(TbUser tbUser);

    List<String> getUserAllPers(String phone);
}